<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Redirect if login</title>
</head>
<body>

Auto redirect after to 2 seconds.

<script type="application/javascript">
    setTimeout(function () {
        window.location.href = "login_success?username=test&token=xxxxx";
    }, 2000);
</script>

</body>
</html>